package cn.com.wangluotongxin.merchants.eureka.fallback;

import cn.com.wangluotongxin.common.web.AjaxResult;
import cn.com.wangluotongxin.merchants.eureka.MerchantsClient;
import cn.com.wangluotongxin.merchants.eureka.form.*;

public class MerchantsClientFallback implements MerchantsClient {

    @Override
    public AjaxResult loadMerchants() {
        return AjaxResult.error("服务异常");
    }

    @Override
    public AjaxResult loadSingleMerchants(Integer merchantsId) {
        return AjaxResult.error("服务异常");
    }

    @Override
    public AjaxResult initMerchantsUser(Integer tenantId, InitMerchantsUserForm form) {
        return AjaxResult.error("服务异常");
    }

    @Override
    public AjaxResult initPlatformMenu(Integer tenantId, InitPlatformMenuForm form) {
        return AjaxResult.error("服务异常");
    }

    @Override
    public AjaxResult initPlatformRole(Integer tenantId, InitPlatformRoleForm form) {
        return AjaxResult.error("服务异常");
    }

    @Override
    public AjaxResult addMerchantsMenu(String tenantId, AddMerchantsMenuForm form) {
        return AjaxResult.error("服务异常");
    }

    @Override
    public AjaxResult editMerchantsMenu(String tenantId, AddMerchantsMenuEditForm form) {
        return AjaxResult.error("服务异常");
    }

    @Override
    public AjaxResult deleteMerchantsMenu(String tenantId, Integer menuId) {
        return AjaxResult.error("服务异常");
    }

    @Override
    public AjaxResult addMerchantsRole(String tenantId, AddMerchantsRoleForm form) {
        return AjaxResult.error("服务异常");
    }

    @Override
    public AjaxResult editMerchantsRole(String tenantId, AddMerchantsRoleEditForm form) {
        return AjaxResult.error("服务异常");
    }
}
